﻿#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include <stdio.h> 
int main() {
	int a = 1, b = 10;
	do{
		b -= a;
		a++;
	}while (b-- < 0);
	printf("a=%d,b=%d\n", a, b);
}